package com.yxw.live_vod_backend_boot.service.impl;

import com.yxw.live_vod_backend_boot.service.VideoCoinService;
import com.yxw.live_vod_facade.dto.VideoCoinQueryDTO;
import com.yxw.live_vod_facade.feign.VideoCoinFeignClient;
import com.yxw.live_vod_facade.vo.YxVideoCoinVO;
import com.yxw.yxnet_cd_center.common.dto.PageVO;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 视频币明细后台
 * @author xiexuxin
 * @date 2023-12-12
 */
@Service
@Slf4j
public class VideoServiceImpl implements VideoCoinService {

    @Autowired
    private VideoCoinFeignClient videoCoinFeignClient;


    @Override
    public BaseResult<PageVO<YxVideoCoinVO>> getVideoCoin(VideoCoinQueryDTO queryDTO) {
        return videoCoinFeignClient.getVideoCoinListBackend(queryDTO);
    }
}
